-- GENERATED SPELL FOR [Anub'ar Skirmisher] --


function spell0_28734(pUnit, Event) --@Backstab,n/a--
pUnit:FullCastSpellOnTarget(52540,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_28734', 550, 1)
end

function Sorts_28734(pUnit, Event)
local choix_sorts_28734 = math.random(0, 0)
if choix_sorts_28734 == 0 then
pUnit:RegisterEvent('spell0_28734', 1, 1)
end
end

function mob28734_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_28734', math.random(1500, 3000), 1)
end

function mob28734_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28734_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28734_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(28734, 1, 'mob28734_Action')
RegisterUnitEvent(28734, 2, 'mob28734_Leave')
RegisterUnitEvent(28734, 3, 'mob28734_Kill')
RegisterUnitEvent(28734, 4, 'mob28734_Die')
